import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  realName: [{ required: true, message: "账户名称为必填项", trigger: "blur" }],
  accountName: [
    { required: true, message: "登录名称为必填项", trigger: "blur" }
  ],
  tenantName: [{ required: true, message: "租户名称为必填项", trigger: "blur" }]
});
